package mn.asri.teaproc.client;

/** represents the "answer" sent by a test taker. */
public class PocAnswer extends BaseModel {

	protected void postObjectify() {
	}

	protected void preStringify() {
	}

	public String getTestId() {
		return getData("testId");
	}

	public void setTestId(String testId) {
		setData("testId", testId);
	}

	public int getIndex() {
		return toInt(getData("index"));
	}

	public void setIndex(int index) {
		setData("index", index + "");
	}

	public int getAnswerIndex() {
		return toInt(getData("answerIndex"));
	}

	public void setAnswerIndex(int answerIndex) {
		setData("answerIndex", answerIndex + "");
	}

	public long getCurrentTime() {
		return toLong(getData("currentTime"));
	}

	public void setCurrentTime(long currentTime) {
		setData("currentTime", currentTime + "");
	}

	public int getNextQuestionIndex() {
		return toInt(getData("nextQuestionIndex"));
	}

	public void setNextQuestionIndex(int nextQuestionIndex) {
		setData("nextQuestionIndex", nextQuestionIndex + "");
	}
}
